package cn.appsys.service.back;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.appsys.dao.back.BackEndUserMapper;
import cn.appsys.pojo.BackendUser;

@Service("backEndUserService")
public class BackEndUserServiceImpl implements BackEndUserService {

	//注入Service层对象
	@Resource
	private BackEndUserMapper backEndUserMapper;
	
	/**
	 * 登录方法
	 */
	@Override
	public BackendUser queryBackendUser(String userCode, String userPassword) {
		return backEndUserMapper.queryBackendUser(userCode, userPassword);
	}

}
